home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Utility / Stack Analyzer / cards.xml < prev    next >
Text File  |  1991-03-30  |  10KB  |  253 lines

  1. card_2871.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>2871</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_4320.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2652</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3238.css" />
  13.     <part>
  14.         <id>1</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <true /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <false /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <false /> </lockText>
  23.         <rect>
  24.             <left>16</left>
  25.             <top>64</top>
  26.             <right>432</right>
  27.             <bottom>328</bottom>
  28.         </rect>
  29.         <style>scrolling</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <false /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Courier</font>
  39.         <textSize>10</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>13</textHeight>
  42.         <name>statusField</name>
  43.         <script></script>
  44.     </part>
  45.     <part>
  46.         <id>2</id>
  47.         <type>button</type>
  48.         <visible> <true /> </visible>
  49.         <reserved5> 0 </reserved5>
  50.         <reserved4> 0 </reserved4>
  51.         <reserved3> 0 </reserved3>
  52.         <reserved2> 0 </reserved2>
  53.         <reserved1> 0 </reserved1>
  54.         <enabled> <true /> </enabled>
  55.         <rect>
  56.             <left>443</left>
  57.             <top>116</top>
  58.             <right>494</right>
  59.             <bottom>167</bottom>
  60.         </rect>
  61.         <style>transparent</style>
  62.         <showName> <true /> </showName>
  63.         <highlight> <false /> </highlight>
  64.         <autoHighlight> <false /> </autoHighlight>
  65.         <sharedHighlight> <true /> </sharedHighlight>
  66.         <family>0</family>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>28654</icon>
  69.         <textAlign>center</textAlign>
  70.         <font>Geneva</font>
  71.         <textSize>10</textSize>
  72.         <textStyle>bold</textStyle>
  73.         <name>Analyze</name>
  74.         <script>on mouseUpglobal holdMyPlace, theTargetStack, theTextFile, theTextDumpput the long name of this card into holdMyPlaceanswer file "What stack should I analyze?" of type "stack"put it into theTargetStackif theTargetStack = empty thenexit mouseUpend ifanswer "Output full text of scripts?" with "Yes" or "No"if it = "Yes" thenput "True" into theTextDumpelseput "False" into theTextDumpend ifask file "Output the text to:" with "Stack Text Dump"put it into theTextFileif theTextFile is empty thenexit mouseUpelseopen file theTextFileend ifput "Beginning analysis of stack: " & return & "  " ¬¨& theTargetStack & return into card field "statusField"put return & "sending output to text file: " ¬¨& return & theTextFile ¬¨after card field "statusField"scrollFieldwrite "*** STACK ANALYSIS *** " ¬¨& return & " of stack: " & return & "     ** -> " ¬¨& theTargetStack & " <- **" & return to file theTextFilelock screenset the cursor to watchset lockMessages to trueparseStackgo to holdMyPlaceunlock screenput return & "End of Analysis" after card field "statusField"scrollFieldwrite return & "End of analysis" & return to file theTextFileclose file theTextFileset lockMessages to falseend mouseUp</script>
  75.     </part>
  76.     <part>
  77.         <id>5</id>
  78.         <type>button</type>
  79.         <visible> <true /> </visible>
  80.         <reserved5> 0 </reserved5>
  81.         <reserved4> 0 </reserved4>
  82.         <reserved3> 0 </reserved3>
  83.         <reserved2> 0 </reserved2>
  84.         <reserved1> 0 </reserved1>
  85.         <enabled> <true /> </enabled>
  86.         <rect>
  87.             <left>443</left>
  88.             <top>199</top>
  89.             <right>493</right>
  90.             <bottom>247</bottom>
  91.         </rect>
  92.         <style>transparent</style>
  93.         <showName> <true /> </showName>
  94.         <highlight> <false /> </highlight>
  95.         <autoHighlight> <false /> </autoHighlight>
  96.         <sharedHighlight> <true /> </sharedHighlight>
  97.         <family>0</family>
  98.         <titleWidth>0</titleWidth>
  99.         <icon>1020</icon>
  100.         <textAlign>center</textAlign>
  101.         <font>Chicago</font>
  102.         <textSize>12</textSize>
  103.         <textStyle>plain</textStyle>
  104.         <name>Help</name>
  105.         <script>on mouseUpshow card field ID 7end mouseUp</script>
  106.     </part>
  107.     <part>
  108.         <id>6</id>
  109.         <type>button</type>
  110.         <visible> <true /> </visible>
  111.         <reserved5> 0 </reserved5>
  112.         <reserved4> 0 </reserved4>
  113.         <reserved3> 0 </reserved3>
  114.         <reserved2> 0 </reserved2>
  115.         <reserved1> 0 </reserved1>
  116.         <enabled> <true /> </enabled>
  117.         <rect>
  118.             <left>314</left>
  119.             <top>26</top>
  120.             <right>346</right>
  121.             <bottom>51</bottom>
  122.         </rect>
  123.         <style>transparent</style>
  124.         <showName> <false /> </showName>
  125.         <highlight> <false /> </highlight>
  126.         <autoHighlight> <false /> </autoHighlight>
  127.         <sharedHighlight> <true /> </sharedHighlight>
  128.         <family>0</family>
  129.         <titleWidth>0</titleWidth>
  130.         <icon>19678</icon>
  131.         <textAlign>center</textAlign>
  132.         <font>Chicago</font>
  133.         <textSize>12</textSize>
  134.         <textStyle>plain</textStyle>
  135.         <name>New Button</name>
  136.         <script>on mouseUpshow card field ID 8end mouseUp</script>
  137.     </part>
  138.     <part>
  139.         <id>10</id>
  140.         <type>button</type>
  141.         <visible> <true /> </visible>
  142.         <reserved5> 0 </reserved5>
  143.         <reserved4> 0 </reserved4>
  144.         <reserved3> 0 </reserved3>
  145.         <reserved2> 0 </reserved2>
  146.         <reserved1> 0 </reserved1>
  147.         <enabled> <true /> </enabled>
  148.         <rect>
  149.             <left>444</left>
  150.             <top>280</top>
  151.             <right>496</right>
  152.             <bottom>324</bottom>
  153.         </rect>
  154.         <style>transparent</style>
  155.         <showName> <false /> </showName>
  156.         <highlight> <false /> </highlight>
  157.         <autoHighlight> <false /> </autoHighlight>
  158.         <sharedHighlight> <true /> </sharedHighlight>
  159.         <family>0</family>
  160.         <titleWidth>0</titleWidth>
  161.         <icon>21700</icon>
  162.         <textAlign>center</textAlign>
  163.         <font>Chicago</font>
  164.         <textSize>12</textSize>
  165.         <textStyle>plain</textStyle>
  166.         <name>Home</name>
  167.         <script>on mouseUpgo homeend mouseUp</script>
  168.     </part>
  169.     <part>
  170.         <id>7</id>
  171.         <type>field</type>
  172.         <visible> <true /> </visible>
  173.         <dontWrap> <false /> </dontWrap>
  174.         <dontSearch> <false /> </dontSearch>
  175.         <sharedText> <false /> </sharedText>
  176.         <fixedLineHeight> <false /> </fixedLineHeight>
  177.         <autoTab> <false /> </autoTab>
  178.         <lockText> <true /> </lockText>
  179.         <rect>
  180.             <left>14</left>
  181.             <top>63</top>
  182.             <right>499</right>
  183.             <bottom>330</bottom>
  184.         </rect>
  185.         <style>scrolling</style>
  186.         <autoSelect> <false /> </autoSelect>
  187.         <showLines> <false /> </showLines>
  188.         <wideMargins> <true /> </wideMargins>
  189.         <multipleLines> <false /> </multipleLines>
  190.         <reservedFamily> 0 </reservedFamily>
  191.         <titleWidth>0</titleWidth>
  192.         <icon>0</icon>
  193.         <textAlign>left</textAlign>
  194.         <font>Geneva</font>
  195.         <textSize>10</textSize>
  196.         <textStyle>plain</textStyle>
  197.         <textHeight>13</textHeight>
  198.         <name></name>
  199.         <script>on mouseUphide card field ID 7end mouseUp</script>
  200.     </part>
  201.     <part>
  202.         <id>8</id>
  203.         <type>field</type>
  204.         <visible> <false /> </visible>
  205.         <dontWrap> <false /> </dontWrap>
  206.         <dontSearch> <false /> </dontSearch>
  207.         <sharedText> <false /> </sharedText>
  208.         <fixedLineHeight> <false /> </fixedLineHeight>
  209.         <autoTab> <false /> </autoTab>
  210.         <lockText> <true /> </lockText>
  211.         <rect>
  212.             <left>120</left>
  213.             <top>117</top>
  214.             <right>360</right>
  215.             <bottom>259</bottom>
  216.         </rect>
  217.         <style>rectangle</style>
  218.         <autoSelect> <false /> </autoSelect>
  219.         <showLines> <false /> </showLines>
  220.         <wideMargins> <false /> </wideMargins>
  221.         <multipleLines> <false /> </multipleLines>
  222.         <reservedFamily> 0 </reservedFamily>
  223.         <titleWidth>0</titleWidth>
  224.         <icon>0</icon>
  225.         <textAlign>center</textAlign>
  226.         <font>Chicago</font>
  227.         <textSize>12</textSize>
  228.         <textStyle>plain</textStyle>
  229.         <textHeight>16</textHeight>
  230.         <name></name>
  231.         <script>on mouseUphide card field ID 8end mouseUp</script>
  232.     </part>
  233.     <content>
  234.         <layer>card</layer>
  235.         <id>1</id>
  236.         <text>Beginning analysis of stack:   Crate 60 Meg:HyperCard:HyperCard 2.0:Development:Footballsending output to text file: Crate 60 Meg:HyperCard:HyperCard 2.0:Development:Stack Text Dump 2 number of backgrounds = 2    number of cards = 117 analyzing the stack script... analyzing background #1...  # of fields = 0    # of buttons = 0    # of cards = 1  analyzing the background script...  analyzing the background fields...  analyzing the background buttons...  scanning for card level fields/buttons/scripts... analyzing background #2...  # of fields = 17    # of buttons = 9    # of cards = 116  analyzing the background script...  analyzing the background fields...  analyzing the background buttons...  scanning for card level fields/buttons/scripts...End of Analysis</text>
  237.     </content>
  238.     <content>
  239.         <layer>card</layer>
  240.         <id>7</id>
  241.         <text>                                          (Click anywhere in this field to hide it.)   "The Stack Analyzer"  (ver 2.1)  all rights reserved.   This stack is designed to help "decompose" another stack. It takes all the HyperScript information (the scripts and the properties of all the stack's objects) from a "target" stack and outputs the information to a text file for easy analysis. Once the job is complete you can use any word processor to view the output.   To use it simply click on the button "Analyze" and then follow the prompts to choose the stack you want to analyze and provide a name and location for the output text file.   Remember - this stack is shareware - if you find it useful, please send in your shareware payment and be a "registered" user. As an additional incentive - I do have plans to upgrade this and as a registered user you will be entitled to upgrades at minimal cost.   A shareware payment of $10 would be greatly appreciated. If you feel you can't afford this, just write and say so and you will still be a registered user.   Send to: Thomas Loser                 P.O. Box 142                 Hershey, PA  17033-0142                                             (Click anywhere in this field to hide it.)</text>
  242.     </content>
  243.     <content>
  244.         <layer>card</layer>
  245.         <id>8</id>
  246.         <text>- A Stack Analysis Tool -designed byThomas LoserP.O. Box 142Hershey PA 17033-0142$10 Shareware (please!)</text>
  247.     </content>
  248.     <name></name>
  249.     <script></script>
  250. </card>
  251.  
  252.  
  253.